#ifndef _PropItem_h_
#define _PropItem_h_

#include "Global.h"

class PropItem : public CCNode
{
	NODE_FUNC(PropItem)
public:
	PropItem(void);
	~PropItem(void);
	bool init();
	void setIcon(int itemID);
	void setName(char* itemName);
	void setType(int itemID);
	void setLevel(int itemLevel);
private:
	CCSprite* m_pBg;
	CCSprite* m_pIcon;
	CCLabelTTF* m_pName;
	CCLabelTTF* m_pType;
	CCLabelTTF* m_pLevel;
	//CCLabelTTF* m_
	CCLabelTTF* m_pExp;
	CCMenuItemImage* m_pEquipBtn;
	CCMenuItemImage* m_pUpgradeBtn;
	void menuCallback(CCObject* pSender);
};

#endif